package com.qiche.dto;

import lombok.Data;

import java.util.Date;

/**
 * @Author: Linzewen
 * @Date: 2018/7/18 0018 09:47
 */
@Data
public class VoucherDto {
    private Integer id;
    private String title;
    private String code;
    private String agentId;
    private String phone;
    private Double amount;
    private String dueTime;

    private Integer isWriteoff;
    private Date writeOffTime;
    private Date createTime;
    private String merchantName;

    public boolean isVerify() {
        return "1".equals(isWriteoff);
    }
}
